package net.oschina.app.pages;

import android.view.View;
import android.widget.TextView;

import net.oschina.app.SoloWrap;

/**
 * Created by Aaron on 2017/6/11.
 */

public class PageAbout {
    private SoloWrap solo;
    private TextView versionTextView;

    public PageAbout(SoloWrap solo){
        this.solo = solo;
    }

    public void initViews(){
        versionTextView = (TextView) solo.getView("net.oschina.app:id/tv_version_name");
    }

    public String getVersion(){
        return versionTextView.getText().toString();
    }

}
